SetVideoMediaGraphicsMode
TheSetVideoMediaGraphicsMode
function allows you to set the graphics mode and blend color of a video media.
pascal HandlerError SetVideoMediaGraphicsMode (MediaHandler mh, long graphicsMode, const RGBColor *opColor);
mH
- Contains a reference to a media handler. You obtain this reference from the
GetMediaHandler
function, which is described on page 2-265.graphicsMode
- Specifies the graphics mode of the media handler. This is a QuickDraw transfer mode value.
opColor
- Contains a pointer to the color for use in blending and transparent operations. The media handler passes this color to QuickDraw as appropriate when you draw in
addPin
,subPin
,blend
, ortransparent
mode.ERROR CODES
Component Manager errorsSEE ALSO
You can retrieve the graphics mode and blend color currently in use by a video media handler by calling theGetVideoMediaGraphicsMode
function, which is described in the next section.